Package com.cisco.pt.ipc.sim
Interface Router
- All Superinterfaces:
CiscoDevice,Device,IPCObject
- All Known Subinterfaces:
WirelessRouter
- All Known Implementing Classes:
RouterImpl,WirelessRouterImpl
Information provided by the PKI file:
\class Router
\brief Router is the base class for all router devices.
\example network().getDevice("Router0")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:voidaddUserPass(String username, String password, int type) Information provided by the PKI file:booleanchangePortEncapsulation(String portname, String encapsulationType) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getUserPass(String username) Information provided by the PKI file:intInformation provided by the PKI file:booleanremoveSubInt(String portName) Information provided by the PKI file:voidremoveUserPass(String username) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.sim.CiscoDevice
addBootSystem, addUserPassEntry, clearFtpPasswd, clearFtpUsername, enterCommand, getBannerMotd, getBia, getBootSystems, getConfigRegister, getConsole, getConsoleLine, getEnablePassword, getEnableSecret, getFtpPasswd, getFtpUsername, getHostName, getIpcTerminalLine, getLine, getNextConfigRegister, getServicePasswordEncryption, getStartupFile, getTimeZone, getUserEntryAt, getVtyLine, isBooting, isUserExist, removeAllBootSystem, removeBootSystem, removeUserPassAt, removeUserPassEntry, setBannerMotd, setEnablePassword, setEnableSecret, setFtpPasswd, setFtpUsername, setHostName, setNextConfigRegister, setServicePasswordEncryption, setStartupFile, setTimeZone, skipBootMethods inherited from interface com.cisco.pt.ipc.sim.Device
activityTreeToXml, addCustomVar, addDeviceExternalAttributes, addModule, addProgrammingSerialOutputs, addSound, addUserDesktopApp, addUserDesktopAppFromGlobal, clearDeviceExternalAttributes, clearProgrammingSerialOutputs, destroySounds, getAreaLeftX, getAreaTopY, getCenterXCoordinate, getCenterYCoordinate, getCommandLine, getCustomInterface, getCustomLogicalImage, getCustomPhysicalImage, getCustomVarNameAt, getCustomVarsCount, getCustomVarStr, getCustomVarValueStrAt, getDescriptor, getDeviceExternalAttributes, getDeviceExternalAttributeValue, getGlobalXPhysicalWS, getGlobalYPhysicalWS, getModel, getName, getPhysicalObject, getPort, getPortAt, getPortCount, getPorts, getPower, getProcess, getProgrammingSerialOutputs, getRootModule, getSerialNumber, getSupportedModule, getType, getUpTime, getUsbPortAt, getUsbPortCount, getUserDesktopAppAt, getUserDesktopAppByDir, getUserDesktopAppById, getUserDesktopAppCount, getXCoordinate, getXPhysicalWS, getYCoordinate, getYPhysicalWS, hasCustomVar, isDesktopAvailable, isOutdated, isProjectRunning, moveByInPhysicalWS, moveToLocation, moveToLocationCentered, moveToLocInPhysicalWS, playSound, relinkUserDesktopApp, removeCustomVar, removeModule, removeUserDesktopApp, restoreToDefault, runCodeInProject, runProject, serializeToXml, setCustomInterface, setCustomLogicalImage, setCustomPhysicalImage, setDeviceExternalAttributes, setName, setPower, setTime, stopProject, stopSound, stopSounds, subtractDeviceExternalAttributes, updateTemplateCreationTimeMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
addSubInt
Information provided by the PKI file:
\brief Adds a subinterface to the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param subIntNum, the subinterface number.- Parameters:
portName- Takes in a parameter of portNamesubIntNum- Takes in a parameter of subIntNum- Returns:
- boolean Returns a boolean
-
removeSubInt
Information provided by the PKI file:
\brief Removes the subinterface from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
changePortEncapsulation
Information provided by the PKI file:
\brief Changes the encapsulation on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param encapsulationType, the encapsulation type. Encapsulation types: hdlc, ppp, frameRelay, arpa, dot1Q \return bool, true if successful, otherwise false.- Parameters:
portname- Takes in a parameter of portnameencapsulationType- Takes in a parameter of encapsulationType- Returns:
- boolean Returns a boolean
-
addUserPass
Information provided by the PKI file:
\brief Adds a user account. \param username, the username. \param password, the password. \param int, the type.- Parameters:
username- Takes in a parameter of usernamepassword- Takes in a parameter of passwordtype- Takes in a parameter of type
-
removeUserPass
Information provided by the PKI file:
\brief Removes the specified user account. \param username, the username of interest.- Parameters:
username- Takes in a parameter of username
-
getUserPass
Information provided by the PKI file:
\brief Returns the password of the specified username. \param username, the username of interest. \return string, the password of the specified username.- Parameters:
username- Takes in a parameter of username- Returns:
- String Returns a String
-
getUserPassCount
int getUserPassCount()Information provided by the PKI file:
\brief Returns the number of user accounts. \return int, the number of user accounts.- Specified by:
getUserPassCountin interfaceCiscoDevice- Returns:
- int Returns a int
-
getClassMapManager
ClassMapManager getClassMapManager()Information provided by the PKI file:
\brief Returns the class map manager. \return ClassMapManager, the ClassMapManager object.- Returns:
- ClassMapManager Returns a ClassMapManager
-
getPolicyMapManager
PolicyMapManager getPolicyMapManager()Information provided by the PKI file:
\brief Returns the policy map manager. \return PolicyMapManager, the PolicyMapManager object.- Returns:
- PolicyMapManager Returns a PolicyMapManager
-
getParameterMapManager
ParameterMapManager getParameterMapManager()Information provided by the PKI file:
\brief Returns the parameter map manager. \return ParameterMapManager, the ParameterMapManager object.- Returns:
- ParameterMapManager Returns a ParameterMapManager
-
getNetflowMonitorManager
FlowMonitorManager getNetflowMonitorManager()Information provided by the PKI file:
\brief Returns the flow monitor manager. \return FlowMonitorManager, the FlowMonitorManager object.- Returns:
- FlowMonitorManager Returns a FlowMonitorManager
-
getNetflowRecordManager
FlowRecordManager getNetflowRecordManager()Information provided by the PKI file:
\brief Returns the flow record manager. \return FlowRecordManager, the FlowRecordManager object.- Returns:
- FlowRecordManager Returns a FlowRecordManager
-
getNetflowExporterManager
NFExporterManager getNetflowExporterManager()Information provided by the PKI file:
\brief Returns the NetFlow exporter manager. \return NFExporterManager, the NFExporterManager object.- Returns:
- NFExporterManager Returns a NFExporterManager
-